arch?=arm
modname?=demo

KERNELDIR:=/home/linux/soc/linux-new/linux-5.10.61-new/linux-5.10.61
PWD:=$(shell pwd)

all:
	make -C $(KERNELDIR) M=$(PWD) modules

clean:
	make -C $(KERNELDIR) M=$(PWD) clean

obj-m:=$(modname).o
